home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
K-L
/
LImacSTACK11⁄89.cpt
/
Command Examples
/
card_4042.txt
< prev
next >
Wrap
Text File
|
1989-11-02
|
2KB
|
98 lines
-- card: 4042 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2810
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=149 top=153 right=175 bottom=341
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Open APPLE and Play
----- HyperTalk script -----
on mouseUp
-- plays a specific animation file ("apple")
Studio1 open, "ref", "apple"
if the result is empty
then
studio1 play, ref
else
put the result
end if
Studio1 close, ref
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=149 top=182 right=204 bottom=341
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Open ANY and Play
----- HyperTalk script -----
on mouseUp
answer "Try the file called " "e &"Counting."& quote
-- allows you to choose which animation to play
Studio1 open, "ref", "" -- notice the null string ("")
if the result is empty
then
studio1 play, ref
else
put the result
end if
Studio1 close, ref
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=149 top=211 right=233 bottom=341
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Open PATHNAME and Play
----- HyperTalk script -----
on mouseUp
-- allows you to specify pathname of animation to play
Studio1 open, "ref", "Hard Drive:Studio/1Δí:animation:Counting"
if the result is empty
then
studio1 play, ref
else
put "Put your own pathname into the script!"
end if
Studio1 close, ref
wait 120
hide msg
end mouseUp
-- part contents for background part 8
----- text -----
OPEN
-- part contents for background part 9
----- text -----
Opens the specified animation and loads it into memory.